package org.wang.generalcode.modules.exam.converter;

import org.mapstruct.Mapper;
import org.wang.generalcode.modules.exam.pojo.entity.SubjectInfoEntity;
import org.wang.generalcode.modules.exam.pojo.vo.SubjectInfoVO;

/**
 * 科目表对象转换器
 *
 * @author wz
 * @since 2024-11-22
 */
@Mapper(componentModel = "spring")
public interface SubjectInfoConverter {

    SubjectInfoVO toForm(SubjectInfoEntity entity);

    SubjectInfoEntity toEntity(SubjectInfoVO formData);
}